print("Appending child objects");
var x = rt.createObject("test1","RtObject");
rt.appendChild(x);
x = rt.createObject("test2","RtObject");
rt.insertBefore(x,rt.test1);
x = rt.createObject("test3","RtObject");
rt.test2.appendChild(x);
x = rt.test2.clone();
rt.test1.appendChild(x);
print("Tree = \n" + rt.objectTree());


print("Saving rt to h5");
rt.h5write("scripts/rt.h5");

